package com.bing.services;

import com.bing.entity.Account;

import java.util.List;

/**
 * Created by kaibb on 15-11-1.
 */
public interface AccountServices {


    /**
     * 保存Account集合到mysql数据库
     *
     * @param accounts Account集合
     */
    void saveMySqlAccounts(List<Account> accounts);

    void updateAccounts(List<Account> accounts);



    /**
     * 获取所有Accounts
     *
     * @return 返回所有Accounts
     */
    List<Account> getAccounts(int size);
}
